﻿@model Ecommerce.Areas.Manager.Models.Login
@{
    ViewBag.Title = "Login";
}

@using (Html.BeginForm("Login", "Login"))
{
    <fieldset>
        <legend>Login</legend>
        <p class="field-validation-error">
            @ViewBag.ErrorMsg
        </p>
        <div class="editor-label">
            @Html.LabelFor(model => model.Username)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Username)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.Password)
        </div>
        <div class="editor-field">
            @Html.PasswordFor(model => model.Password)
            @Html.ValidationMessageFor(model => model.Password)
        </div><br />
        <input type="submit" value="Submit" />
    </fieldset>
}